.PHONY:myserver
CFLAG=-I../third/include
LFLAG=-L../third/lib -lgtest -lprotobuf -lsqlite3 -lmuduo_net -lmuduo_base -lz -lpthread
brokerServer:mq_server.cpp ../mqcommon/mq_msg.pb.cc ../mqcommon/mq_proto.pb.cc ../third/include/muduo/proto/codec.cc
	g++ -o $@ $^ -std=c++11 $(CFLAG) $(LFLAG) -w -g
.PHONY:clean
clean:
	rm -rf brokerServer